]> dgit.raspbian.org Git - gnome-shell.git/commit
Do not skip CoglError parameters
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 14 Apr 2016 15:13:17 +0000 (17:13 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 15 Apr 2016 16:22:18 +0000 (18:22 +0200)
commit63f6ff91516bb484fc6de50ecabc791095d81b81
treeceafd9d172c838502f43542c2be8d074b9e94ba6
parent59c2ace98c99db57d085c2fe61f85d2dceff95e4
Do not skip CoglError parameters

While CoglError is a define to GError, it doesn't follow the convention
of ignoring errors when NULL is passed, but rather treats the error as
fatal :-(
That's clearly unwanted for a compositor, so make sure to always pass
an error parameter where a runtime error is possible

https://bugzilla.gnome.org/show_bug.cgi?id=765061
src/st/st-private.c
src/st/st-texture-cache.c
src/st/st-theme-node-drawing.c